package com.supermarket.api.bean.cart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 更新购物车商品数量记录
 * @author 李其伟
 * @date 2023/11/10
 */
@ApiModel("更新购物车商品数量参数")
@Data
public class UpdateNumberCartReq {

    @ApiModelProperty(value = "购物车记录ID",dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "数量",dataType = "Integer")
    private Integer number = 1;
}
